{  ACMP.RU
   Statement: http://acmp.ru/?main=task&id_task=8
   Verdict: Accepted
}
uses 
    SysUtils, Math;
    
var 
    a,b,c:longint;

begin
reset(input,'input.txt');
rewrite(output,'output.txt');
read(a,b,c);
if a*b=c then write('YES') else write('NO');
end.